;-----------------------------------------------------------------------;
;									;
;	XTPRO.DEF: Menu File for XTreePro 1.0 (Executive Systems)	;
;	Copyright (C) 1988 LOGITECH International S.A.			;
;									;
;-----------------------------------------------------------------------;
;
; In this mouse interface, the buttons are assigned as follows:
;
;
;	LEFT:	ENTER
;		Y when prompted for Y/N
;	MIDDLE:	T
;	RIGHT:	U
;		N when prompted for Y/N
;
;	Chords (more than one button at a time)
;		Left-Middle to VIEW a file if in FILE mode OR
;			    to CHANGE VOLUME NAME if in DIR mode
;		Left-Right is ESC (Cancel)
;		Middle-Right is ESC (Cancel)
;		Left-Middle-Right is Q (Quit)									
;
BEGIN	leftb, midb, rightb, leftm, rightm, upm, downm, 50, 8
;
;NOTE: with 2-button mouse, "midb" means both buttons,
;      and CHORDS are disabled since they can be activated
;      only with a 3-button mouse
;
CHORDS	lmb, lrb, mrb, allb

;
; The three buttons
;
leftb:	MATCH 25,1,,"Delete",typey,leftb1
leftb1:	MATCH 25,1,,"Confirm",typey,leftb2
leftb2:	MATCH 25,1,,"Automatic",typey,leftb3
leftb3:	MATCH 25,1,,"Quit",typey,typecr
typecr:	TYPE ENTER
typey:	TYPE "Y"

midb:	TYPE "T"

rightb:		MATCH 25,1,,"Delete",typen,rightb1
rightb1:	MATCH 25,1,,"Confirm",typen,rightb2
rightb2:	MATCH 25,1,,"Automatic",typen,rightb3
rightb3:	MATCH 25,1,,"Quit",typen,typeu
typeu:	TYPE "U"
typen:	TYPE "N"

;
; The movements
;
leftm:	TYPE 0,75	; Left arrow (extended 75)
rightm:	TYPE 0,77	; Right arrow (extended 77)
upm:	TYPE 0,72	; Up arrow (extended 72)
downm:	TYPE 0,80	; Down arrow (extended 80)

;
; The chords
;
lmb:	TYPE "V"	; To view a file if in FILE mode 
			; To change volume name if in DIR mode 
lrb:	TYPE ESC	; ESC is CANCEL
mrb:	TYPE ESC	; ESC is CANCEL
allb:	TYPE "Q"	; QUIT
